package com.fang.mmy.items.mapper;

import com.fang.mmy.items.entity.Item;

import java.util.List;

public interface ItemMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Item record);

    int insertSelective(Item record);

    Item selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Item record);

    int updateByPrimaryKey(Item record);

    List<Item> getAllByActivityId(Long activity_id);

    List<Item> getAllValidByActivityId(Long activity_id);


}